package org.example.exam;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

import java.util.List;

/**
 * 考卷类
 *
 * @author bobo
 * @since 2024/4/27
 */
public class Paper {

	/**
	 * 试卷标题
	 */
	private String title;

	/**
	 * 试卷问题
	 */
	private List<AbstractExam> examQuestion;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<AbstractExam> getExamQuestion() {
		return examQuestion;
	}

	public void setExamQuestion(List<AbstractExam> examQuestion) {
		this.examQuestion = examQuestion;
	}

	@Override
	public String toString() {
		return "Paper{" +
				"title='" + title + '\'' +
				", examQuestion=" + examQuestion +
				'}';
	}
}
